package net.lab1024.sa.user.module.business.points.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 积分变更记录 实体类
 *
 * @Author jabari
 * @Date 2023-07-12 14:28:55
 * @Copyright 51dev
 */

@Data
@TableName("t_points_change_record")
public class PointsChangeRecordEntity {

    /**
     * 记录ID
     */
    @TableId(type = IdType.AUTO)
    private Integer recordId;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 变更积分
     */
    private Integer changePoints;

    /**
     * 课程ID
     */
    private Integer courseId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 变更类型
     */
    private Integer changeType;

    /**
     * 变更状态
     */
    private Integer changeStatus;

    /**
     * 备注
     */
    private String remark;

    /**
     * 添加时间
     */
    private LocalDateTime createTime;

}